package pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Address entity. @author MyEclipse Persistence Tools
 */

public class Address implements java.io.Serializable {

	// Fields

	private Integer id;
	private String school;
	private String dorm;
	private String room;
	private Set goods = new HashSet(0);

	// Constructors

	/** default constructor */
	public Address() {
	}

	/** full constructor */
	public Address(String school, String dorm, String room, Set goods) {
		this.school = school;
		this.dorm = dorm;
		this.room = room;
		this.goods = goods;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getSchool() {
		return this.school;
	}

	public void setSchool(String school) {
		this.school = school;
	}

	public String getDorm() {
		return this.dorm;
	}

	public void setDorm(String dorm) {
		this.dorm = dorm;
	}

	public String getRoom() {
		return this.room;
	}

	public void setRoom(String room) {
		this.room = room;
	}

	public Set getGoods() {
		return this.goods;
	}

	public void setGoods(Set goods) {
		this.goods = goods;
	}

}